/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

function upBanner(id,th){
    $('form').remove();
    var con=$('meta[name=csrf-token]').attr('content');
    var str='<form class="form-up" action="/banner/update/'+id+'" method="post" enctype="multipart/form-data"><input type="hidden" name="_csrf-backend" value="'+con+'"><input id="banner-logo" type="file" name="Banner[logo]"></form>';
    $(th).parent().parent().parent().append(str);
   
}
